<!DOCTYPE html>
<html>
<head>
    <title>编辑用户</title>
</head>
<body>
    <h1>编辑用户</h1>
    <form action="/user/{$user.id}/update" method="post">
        <p>ID: {$user.id}</p>
        <p>姓名: <input type="text" name="name" value="{$user.name}" required></p>
        <p>邮箱: <input type="email" name="email" value="{$user.email}" required></p>
        <p><input type="submit" value="更新"></p>
    </form>
</body>
</html>